#pragma once
#include "ContinuousTimeOption.h"
class KnockOutCallOption: public ContinuousTimeOption {
public:
    KnockOutCallOption();
    /*  Returns the payoff at maturity */
    double payoff(
        std::vector<double>& prices) const;
    /*  Returns the maturity of the option */
    double getMaturity() const;
    void setStrike(double s);
    void setMaturity(double m);
    void setKnockPrice(double p);
private:
    double strike;
    double maturity;
    double knockPrice;
};